package com.kakame.tibbers.common.routes;

import com.jfinal.config.Routes;
import com.kakame.tibbers.common.controller.AttachController;
import com.kakame.tibbers.front.controller.IndexController;
import com.kakame.tibbers.front.controller.friend.FriendController;
import com.kakame.tibbers.front.controller.user.UserController;

public class FrontRoutes extends Routes {
	public void config() {
		setBaseViewPath("/WEB-INF/views/front");
		add("/", IndexController.class);
		add("/user", UserController.class, "/user");
		add("/friend", FriendController.class, "/friend");
		add("/file", AttachController.class, "/");
	}
}